package com.et.u1.vm.fault;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.lifecycle.ViewModelProvider;

import com.et.u1.databinding.FragmentFaultBinding;
import com.et.u1.vm.base.BaseFragment;

import org.jetbrains.annotations.NotNull;

public class FaultFragment extends BaseFragment<FragmentFaultBinding, FaultViewModel> {


    @NotNull
    @Override
    public FragmentFaultBinding provideViewBinding(@NotNull LayoutInflater inflater, @org.jetbrains.annotations.Nullable ViewGroup container, @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        return FragmentFaultBinding.inflate(inflater, container, false);
    }

    @NotNull
    @Override
    public FaultViewModel provideViewModel() {
        return new ViewModelProvider(this).get(FaultViewModel.class);
    }

    @Override
    public void initEvent() {
        // TODO custom
    }

    @Override
    public void onResume() {
        super.onResume();
        // TODO
    }


    @Override
    public void onPause() {
        super.onPause();
        // TODO
    }
}